package cn.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("cacheImpl1")
public class CacheImpl1 implements Cache{
    @Value("cacheImpl1")
    private String name;

    @Override
    public String toString() {
        return "CacheImpl1{" +
                "name='" + name + '\'' +
                '}';
    }
}
